#!/usr/bin/python2.7
#-*-encoding:utf8-*-
def html(info):
    text_head = '''<html><head>Report:</head><body>'''
    text_tail = ''' </body></html>'''
    text_info = ''
    n = 0
    for i in info:
        n += 1
        text_info += '''
          <p>
          <img src="cid:image1" height="20" width="20">
            warning #'''+str(n)+''': '''+ i +'''</p>
          '''

    text = text_head + text_info + text_tail
    return text
